# !/usr/bin/python
# -*- coding: utf-8 -*-

# mediaplex
# multimedia platform
#
# this file is licensed under the MIT license
# read "LICENSE.MIT" in the root of this distribution

__author__ = 'Jan Jokela <janjokela@gmail.com>'
__description__ = 'The application'


class Application:
    def __init__(self):
        self._start_log()
        self._start_conf()
        self._start_plugin_manager()
        self._start_ui()
    def _start_log(self):
        import log
        log.log = log.Log()
    def _start_conf(self):
        from conf import conf as conf
        conf.config = conf.Generic('configparser')
    def _start_plugin_manager(self):
        from plugin import plugin as plugin
        plugin.manager = plugin.PluginManager()
    def _start_ui(self):
        pass
